package com.lizhi.yun.db.jlc.dao;

import com.lizhi.yun.db.jlc.pojo.JlcPatientInfoPOJO;
import com.lizhi.mybatis.interceptor.PageBounds;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface JlcPatinentInfoDao {

    public int insertRecord(JlcPatientInfoPOJO record);//添加一条完整记录

    public int updateByIdSelective(JlcPatientInfoPOJO record);//按Id(主键)修改指定列的值

    public int deleteById(String id, String hospitalid, String hospitalsystemid);

    public JlcPatientInfoPOJO selectById(String id, String hospitalid, String hospitalsystemid);//通过Id(主键)查询一条记录

    public List<JlcPatientInfoPOJO> selectAll(JlcPatientInfoPOJO record, PageBounds pageBounds);//根据条件查询

    public List<JlcPatientInfoPOJO> selectByMap(Map<String, Object> paramMap, PageBounds pageBounds);//根据条件查询
}
